﻿namespace LevelEditors
{
    using System;
    using UnityEngine;
    using UnityEngine.UI;

    [RequireComponent(typeof(Button))]
    public class UIAddLayerButton : MonoBehaviour
    {
        private void Awake()
        {
            base.GetComponent<Button>().onClick.AddListener(() => base.transform.SetAsLastSibling());
        }
    }
}

